package com.hbnu.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hbnu.system.model.dto.SearchPageDTO;
import com.hbnu.system.model.entity.Knowleage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-05-16
 */
public interface IKnowleageService extends IService<Knowleage> {
    /**
     * 新增申报材料
     * @param knowLeage
     * @return 是否成功
     */
    boolean addAppliMaterials(Knowleage knowLeage);

    /**
     * 删除申报材料
     *
     */
    boolean deleteAppliMaterials(String appliMaterialsID);

    /**
     * 修改申报材料
     *
     * @param knowleage
     * @return 是否成功
     */
    boolean updateAppliMaterials(Knowleage knowleage);

    /**
     * 根据申报材料主键查询申报材料
     *
     * @param appliMaterialsID
     * @return Knowleage
     */
    Knowleage getAppliMaterials(String appliMaterialsID);

    /**
     * 分页查询
     */
    IPage<Knowleage> pageCondition(SearchPageDTO searchPageDTO);

    /**
     *
     */

}
